<template>
    <div class="table">
        <div class="header">
            <div class="left"><slot name="title">本周热榜 TOP5</slot></div>
            <div class="right"><slot name="more"></slot></div>
        </div>
        <div class="content">
            
                <slot name="content">666</slot>
            
        </div>
    </div>
</template>

<script>
export default {

}
</script>
<style scoped lang="less">
    .table {
        
        width: 300px;
        background-color: #fff;
        margin: 0 auto;
        .header {
            width: 300px;
            height: 50px;
            line-height: 50px;
            display: flex;
            justify-content: space-between;
            background-image: linear-gradient(to right,#007aff,#49d3ff);
            color: #fff;
            padding: 0 10px;
        }
        .content {
            width: 100%;
            padding: 0 20px;
            .borderBottom {
                border-bottom: 1px solid #ccc;
            }
            & .borderBottom:last-child {
                border: none;
            }
        }
    }
</style>